The Slider Component > Using the Slider component > Slider properties in the Property Inspector |
Slider properties in the Property Inspector
You can set the following properties for the Slider component using the Property Inspector:
Property name |
Value |
Description |
|---|---|---|
Minimum |
number |
Sets the minimum value for the slider. |
Maximum |
number |
Sets the maximum value for the slider. |
Value |
number |
Sets the value of the slider that the thumb will initially appear at. |
Horizontal |
true or false |
Selects whether the slider will be displayed horizontally (true) or vertically (false). |
Enabled |
true or false |
Sets whether the slider is enabled. If this value is false, the slider will not accept any user interaction, and its visual state will be changed to indicate its state. |
Change Handler |
function name |
Specifies a function name which will be called when the value of the slider changes. |
Thumb Symbol |
fsl_squareThumb, fsl_pointerThumb or fsl_diamondThumb |
Specifies the symbol that will be used for the thumb control on the slider. |
Tick Style |
bottom, top, both or none |
Specifies how tick marks will be displayed on the slider. |
Snap To Ticks |
true or false |
Specifies whether the thumb control on the slider should snap to the tick marks. This setting is ignored if Tick Styles is set to "none". |
Tick Frequency |
number |
Specifies the number of ticks that will appear on the slider. |
Fill Color |
color |
Specifies the color of the slider for the area to the left (horizontal) or below (vertical) the slider. |
Target Instance |
n/a |
This property is needed for the live preview, and its value has no effect on the operation of the component. |